const isProduction = process.env.NODE_ENV === 'production'
const token = `eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NDM2MjcxOTAsInVzZXJJZCI6IjI0NzY4MjAyNTIwMzQzMzQ3MiIsImV4cCI6MTU0Mzc5OTk5MH0.mh54m_KFkhyS9gErND-VnNl-AA7Sr4mjlILl5C4q4VI`

// let config = {
//   token,
//   isPcEnable: false,
//   REMOTE_ADDRESS: 'http://192.168.0.120:8081'
// }
// if (isProduction) {
//   config.isPcEnable = false
//   config.REMOTE_ADDRESS = 'http://ysrest.yaleai.com'
// }

// module.exports = config
// export default config

let isPcEnable = true
let REMOTE_ADDRESS = 'http://192.168.0.120:8081'
let appid = 'wxede20d9286db6756'

if (isProduction) {
  isPcEnable = false
  REMOTE_ADDRESS = 'http://ysrest.yaleai.com'
  appid = 'wxc60cfe941cf04cd0'
}

export {
  token,
  isPcEnable,
  REMOTE_ADDRESS,
  appid,
}
